package com.chb.adapter;

/**
 * @author chihb
 * @create-time 2024/10/23 17:12
 * @description
 */
public class TFAdapter implements SDCard{
    private TFCard tfCard;
    public TFAdapter(TFCard tfCard) {
        this.tfCard = tfCard;
    }
    @Override
    public String readSD() {
        return tfCard.readSD();
    }

    @Override
    public void writeSD(String meg) {
        tfCard.writeSD(meg);
    }
}
